package com.wu.crud.bean;

public class Student {
    private String sid;

    private String sname;

    private String spassword;

    private String college;

    private String major;

    private String stelphone;

    public Student() {
        super();
    }

    public Student(String sid, String sname, String spassword, String college, String major, String stelphone) {
        this.sid = sid;
        this.sname = sname;
        this.spassword = spassword;
        this.college = college;
        this.major = major;
        this.stelphone = stelphone;
    }

    public String getSid() {
        return sid;
    }

    public void setSid(String sid) {
        this.sid = sid == null ? null : sid.trim();
    }

    public String getSname() {
        return sname;
    }

    public void setSname(String sname) {
        this.sname = sname == null ? null : sname.trim();
    }

    public String getSpassword() {
        return spassword;
    }

    public void setSpassword(String spassword) {
        this.spassword = spassword == null ? null : spassword.trim();
    }

    public String getCollege() {
        return college;
    }

    public void setCollege(String college) {
        this.college = college == null ? null : college.trim();
    }

    public String getMajor() {
        return major;
    }

    public void setMajor(String major) {
        this.major = major == null ? null : major.trim();
    }

    public String getStelphone() {
        return stelphone;
    }

    public void setStelphone(String stelphone) {
        this.stelphone = stelphone == null ? null : stelphone.trim();
    }
}